package com.ejuornal.bean;

import java.io.Serializable;
import java.sql.Date;
/**
 * 项目名称：ejuornal    
 * 类名称：Comment    
 * 类描述： 文章评论表   
 * 创建人：陈晨    
 * 创建时间：Jan 23, 2013 5:04:44 PM    
 * 修改人：陈晨    
 * 修改时间：Jan 23, 2013 5:04:44 PM    
 * 修改备注：    
 * @version     
 */
public class Comment implements Serializable{
    private static final long serialVersionUID = 1L;
    private long commentId; //编号
    private String content; //评论内容
    private String type; //类别
    private Date commDate; //时间
    private float score;  //得分
    private String opinion; //赞成反对
    private int userId;    //用户编号
    private int typeId;  //文章或期刊编号
    private Artical artical;	//文章
    
    public Artical getArtical() {
		return artical;
	}
	public void setArtical(Artical artical) {
		this.artical = artical;
	}
	public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public int getTypeId() {
        return typeId;
    }
    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }
    public Date getCommDate() {
		return commDate;
	}
	public void setCommDate(Date commDate) {
		this.commDate = commDate;
	}
	public long getCommentId() {
        return commentId;
    }
    public void setCommentId(long commentId) {
        this.commentId = commentId;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
   
    public float getScore() {
        return score;
    }
    public void setScore(float score) {
        this.score = score;
    }
    public String getOpinion() {
        return opinion;
    }
    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }
    public int getUserId() {
        return userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
   
}
